package apollo;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "mysql")
public class MysqlConfig  {

    private String username;

    private Integer password;

    private Integer port;

    @Override
    public String toString() {
        return "MysqlConfig{" +
                "username='" + username + '\'' +
                ", password=" + password +
                ", port=" + port +
                '}';
    }




    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }
}
